﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace DBAItemCrawler
{
    [DataContract]
    public class Listing
    {
        #region Properties
        [DataMember]
        public string Text
        {
            get;
            private set;
        }

        [DataMember]
        public string Link
        {
            get;
            private set;
        }

        [DataMember]
        public string City
        {
            get;
            private set;
        }

        [DataMember]
        public string Date
        {
            get;
            private set;
        }

        [DataMember]
        public string Price
        {
            get;
            private set;
        }
        #endregion

        public Listing(string t, string l, string c, string d, string p)
        {
            Text = t;
            Link = l;
            City = c;
            Date = d;
            Price = p;
        }
    }
}